<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <title>表格练习</title>
    <style type="text/css"></style>
  </head>
  <style>
    caption {
      text-align: left; /* 文本左对其*/
    }
    table {
      border-collapse:collapse; /*边框合并*/
      /* color: blue; */
    }
    .bg {
      width: 90px;
      height: 70px;
      font-weight: bold;
    }
  </style>
  <body>
    <table border="1">
      <caption>
        这是表格的标题
      </caption>
      <tr>
        <td colspan="3">这个单元格跨列了</td>
      </tr>
      <tr>
        <td rowspan="2" class="bg">这个单元格跨行了</td>
        <td>【2,2】</td>
        <td>【2,3】</td>
      </tr>
      <tr>
        <td>【3,2】</td>
        <td>【3,3】</td>
      </tr>
    </table>
  </body>
</html>
s